package server;

import java.io.File;

public class Context {
    private String name;

    public String getAbsolutePath() {
        return absolutePath;
    }

    public void setAbsolutePath(String absolutePath) {
        this.absolutePath = absolutePath;
    }

    private String absolutePath;
    public Context(String contextName,String absolutePath) {
        this.name = contextName;
        this.absolutePath = absolutePath;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        String s = "server.LagouServlet";
        String s1 = s.replace(".", File.separator);
        System.out.println("s1 = " + s1);
    }
}
